package com.xyht.sca_s.student_manage_system.modules.rxRegistration.service;

import com.xyht.sca_s.student_manage_system.common.commonReturn.ResponseResult;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.RxRegistrationChargeCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xyht.sca_s.student_manage_system.modules.rxRegistration.entity.req.RxRegistrationChargeCategoryReq;

/**
 * <p>
 * 收费项主项 服务类
 * </p>
 *
 * @author XYHT
 * @since 2024-05-07
 */
public interface RxRegistrationChargeCategoryService extends IService<RxRegistrationChargeCategory> {
        ResponseResult addRxRegistrationChargeCategory(RxRegistrationChargeCategoryReq chargeCategoryReq);
        ResponseResult getRxRegistrationChargeCategoryList(String searchStr,Integer type, Integer pageNum, Integer pageSize);
        ResponseResult updateRxRegistrationChargeCategory(RxRegistrationChargeCategoryReq chargeCategoryReq);
        ResponseResult deleteRxRegistrationChargeCategory(RxRegistrationChargeCategoryReq chargeCategoryReq);

        /**
         * @description 修改收费项之前，检查收费项是否在收费计划中
         *
         * @create 2024/5/29
         * @author dxn
         */
        ResponseResult checkRxRegistrationChargeCategoryIsPlan(String chargeCategoryId);
}
